using Game.Const;
using Game.Core;
using Game.Main.Model;
using Game.Manager;
using UnityEngine;

namespace Game.Component
{
	public class DishWasherItem : ContainerItem
	{
		public override void Init(ItemArchiveData data)
		{
			base.Init(data);
		}

		protected override void LateUpdate()
		{
			if (anim != 0)
			{
				base.LateUpdate();
				if (anim == Anim.Static && state == State.Open)
				{
					Singleton<AudioManager>.Instance.PlaySound("sound_blink");
					Singleton<EffectManager>.Instance.ShowEffect(PathConst.EFFECT + "efc_blink_1", base.transform.position + new Vector3(0f, 0.5f, -0.0004f), 3f);
				}
			}
		}
	}
}
